// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TokenRuleContainer.cs" company="None">
//     Copyright (c) 2009-2012
// </copyright>
// <summary>
//   Container for token rules.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CleanCode.StyleCopCustomRules
{
    using StyleCop.CSharp;

    /// <summary>
    /// Container for token rules.
    /// </summary>
    internal struct TokenRuleContainer
    {
        /// <summary>
        /// Gets the type of the token.
        /// </summary>
        /// <value>The type of the token.</value>
        public CsTokenType TokenType { get; private set; }

        /// <summary>
        /// Gets the rule callback.
        /// </summary>
        /// <value>The rule callback.</value>
        public CodeWalkerNodeVisitor<CleanCodeRulesAnalyzer> RuleCallback { get; private set; }
    }
}